#ifndef CONFIGWIDGET_H
#define CONFIGWIDGET_H

#include <QScrollArea>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QTableWidget>
#include "simulatewidget.h"
#include "lineresetwidget.h"

class ConfigWidget : public QScrollArea
{
    Q_OBJECT
public:
    explicit ConfigWidget(QScrollArea *parent = nullptr);
    ~ConfigWidget() {}

    void InitConfig();
    void SimulateFindPic(QString path);

signals:
    void reload_from_config();

private:
    QTabWidget *m_tab_widget;

    //模拟配置
    SimulateWidget *m_simulate_widget;

    //全线和区间配置
    LineResetWidget *m_linereset_widget;
};

#endif // CONFIGWIDGET_H
